package com.gopay.scheduler.shedulerx.event;

import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.Subscribe;
import com.gopay.scheduler.shedulerx.alarm.AlarmEvent;

/**
 * @author 19371
 */
public interface JobEventListener {

    @Subscribe
    @AllowConcurrentEvents
    void listen(TriggerMisfireEvent misfireEvent);

    @Subscribe
    @AllowConcurrentEvents
    void listen(ProcessorJobEvent processorJobEvent);

    @Subscribe
    @AllowConcurrentEvents
    void listen(SchedulerEvent schedulerEvent);
}
